<template>
	<view class="">
		<view class="xczxsertexcr pd display-flex ab">
			<view class="fz50 cf vertical-center flex-1 tl">
				<view class="">
					<view class="">
						名企直聘
					</view>
					<view class="">
						高薪福利
					</view>
				</view>
			</view>
			<view class=" vertical-center pr10">
				<icon class="iconfont icon-gongsiguanli cf  cz xvxcvtret"></icon>
			</view>
		</view>

		<view class="pt20 bgff">
			<zwList :kxzcxfdf="kxzcxfdf"></zwList>
		</view>
	</view>
</template>
<script lang="ts" setup>
	import { hf, hfer, hfsan, dxrequest } from "@/util/index.js"
	import zwList from "@/components/zwList.vue"
	import { ref } from "vue" 
	import {
		onLoad,
		onPageScroll,
		onShow,
		onShareAppMessage,
		onPullDownRefresh,
		onReachBottom
	} from "@dcloudio/uni-app";
	const kxzcxfdf = ref([])
	const page = ref(1)
	const zhiweik = async () => {
		const { data } = await dxrequest("/api/job/page", {
			limit: 10,
			page:page.value,
			companyTag: 1
		})
		data.list.map(a=>{
			kxzcxfdf.value.push(a)
		})
	}
	
	onLoad(()=>{
		zhiweik()
	})
	onReachBottom(() => {
		page.value++
		zhiweik()
	})
</script>

<style scoped>
	.xczxsertexcr {
		height: 250rpx;
		border-radius: 0;
	}

	.xvxcvtret {
		font-size: 140rpx;
	}
</style>